package entry;

import java.util.List;

/**
 * Created by mwang on 2017/1/17.
 */
public class Persion {
    public Persion(String name, String age, List<Cat> catList) {
        this.name = name;
        this.age = age;
        this.catList = catList;
    }

    public Persion() {
    }

    String name;
    String age;
    List<Cat> catList;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getAge() {
        return age;
    }

    public void setAge(String age) {
        this.age = age;
    }

    public List<Cat> getCatList() {
        return catList;
    }

    public void setCatList(List<Cat> catList) {
        this.catList = catList;
    }

    @Override
    public String toString() {
        return "Persion{" +
                "name='" + name + '\'' +
                ", age='" + age + '\'' +
                ", catList=" + catList +
                '}';
    }
}

